
/*transition兼容各浏览器*/
@mixin transition ($transition) {
  -webkit-transition : $transition;
  -moz-transition : $transition;
  -ms-transition : $transition;
  -o-transition : $transition;
  transition : $transition;
}

/*transform-origin兼容各版本浏览器*/
@mixin transform-origin ($point) {
  -webkit-transform-origin : $point;
  -moz-transform-origin : $point;
  -ms-transform-origin : $point;
  -o-transform-origin : $point;
  transform-origin : $point;
}

/*透明度的变化，兼容IE浏览器*/
@mixin opacity ($opacity) {
  opacity: $opacity;
  filter: alpha(opacity=$opacity * 100);
}

/*transform兼容各版本浏览器*/
@mixin transform ($scale) {
  -webkit-transform: scale($scale);
  -moz-transform: scale($scale);
  -ms-transform: scale($scale);
  -o-transform: scale($scale);
  transform: scale($scale);
}